package cn.fookey.testmodel;

import com.alibaba.android.arouter.facade.annotation.Route;

import cn.fookey.commonres.arouter.Arouter;
import cn.fookey.commonres.base.BaseActivity;
import cn.fookey.testmodel.databinding.ASecondBinding;

/**
 * Create by zyx on 2021/6/22
 * If they throw stones at you, don’t throw back, use them to build your own foundation instead.
 */
@Route(path = Arouter.SECOND_PAGE)
public class SecondActivity extends BaseActivity<ASecondBinding> {
    @Override
    protected ASecondBinding getBinding() {
        return ASecondBinding.inflate(getLayoutInflater());
    }

    @Override
    protected void inItData() {
      bingView.testmodelTextview.setOnClickListener(v -> {
          startActivity(Arouter.THIRD_PAGE).navigation();
      });
    }
    @Override
    protected void on_Resume() {

    }

    @Override
    protected void on_Destroy() {

    }
}
